package cn.kgc.day03.mp.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.kgc.day03.mp.entity.User;
import cn.kgc.day03.mp.service.UserService;
import cn.kgc.day03.mp.mapper.UserMapper;
import org.springframework.stereotype.Service;

/**
* @author mengshun
* @description 针对表【sys_user】的数据库操作Service实现
* @createDate 2024-05-29 11:01:58
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService{


    @Override
    public User getOne(String username) {
        return baseMapper.selectUserByUsername(username);
    }
}




